#!/bin/sh

if [ $# -lt 1 ] ; then
	for file in $(ls) ; do
		echo $file
	done
else if [ $# -eq 1 ] ; then
	for file in $(ls $1) ; do
		echo $file
	done
	fi
fi
